/*
 * Copyright (C), 2014-2015, 杭州小卡科技有限公司
 * FileName: InsConstant.java
 * Author:   muxing
 * Date:    2015/10/19 17:34
 * Description:
 */
package com.xiaoka.ins.corp.common.constant;

/**
 * InsConstant 保险公司的常量信息配置
 *
 * @author muxing
 * @date 2015/10/19
 */
public class InsConstant {

	/**
	 * 已经开通接口的保险公司
	 */
	public static final String INSCORP_CICP = "CICP"; // 中华联合
	public static final String INSCORP_AICS = "AICS"; // 永城

	public enum InsType {
		Traff("0", "交强险"),
		Commercial("1", "商业险"),
		TraffAndCommercial("2", "交强+商业");
		private String code;

		public String getCode() {
			return code;
		}

		private String name;

		public String getName() {
			return name;
		}

		InsType(String code, String name) {
			this.code = code;
			this.name = name;
		}
	}

	// 中华联合 CICP
	public static final String CICP_USER_NAME = "ECUser"; // 用户名
	public static final String CICP_USER_PSW = "EC100"; // 用户密码
	public static final String CICP_CHANNELCODE = "004701"; // 渠道代码

}
